package com.chen.service;

import com.chen.pojo.Tag;
import com.chen.pojo.Type;

import java.util.List;

public interface TagService {

    int saveTag(Tag tag);

    Tag getTagByName(String name);

    Tag getTag(Long id);

    List<Tag> listTag();

    int updateTag(Long id, String name);

    void deleteTag(Long id);

}
